cmake_minimum_required(VERSION 3.10)

# set the project name
# project(DynamicCall)
project(DynamicCall VERSION 1.0)

# specify the C++ standard
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)
add_library(sub SHARED "SubProg/main.cpp")


# add the executable
add_executable(DynamicCall "MainProg/main.cpp")

target_link_libraries(DynamicCall PRIVATE sub)
